package com.ruoyi;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 系统模块
 *
 * jvm参数
 -javaagent:D:/work/DevelopUtils/skywalking/skywalking-agent/skywalking-agent.jar
 -Dserver.port=9209
 -Dskywalking.agent.service_name=CherryUseApplication
 -Dskywalking.agent.sample_n_per_3_secs=2
 -Dskywalking.plugin.jdbc.trace_sql_parameters=true
 -Dskywalking.plugin.jdbc.sql_parameters_max_length=100

 swagger：
 http://localhost:9209/swagger-ui/index.html

 http://localhost:8080/cherry/swagger-ui/index.html
 SpringBoot 整合 SkyWalking 包含 Logback 日志采集
 https://mp.weixin.qq.com/s/Nmcgmn8pPnd_TkJC__8eZA
 https://blog.csdn.net/qq_36234720/article/details/132150668

 整合seata 分布式事务
 https://blog.csdn.net/letterss/article/details/134269404
 Nacos共享配置
 https://blog.csdn.net/qq_43641513/article/details/120543096
 SpringCloud Alibaba - Sentinel篇
 https://blog.csdn.net/qq_46921028/article/details/133208704
 * @author sxy
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
public class CherryUseApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(CherryUseApplication.class, args);
        System.out.println("车厘子模块启动成功！" + "\n" +
                "   __.--~~.,-.__\n" +
                "   `~-._.-(`-.__`-.\n" +
                "           \\    `~~`\n" +
                "      .--./ \\\n" +
                "     /#   \\  \\.--.\n" +
                "     \\    /  /#   \\\n" +
                "      '--'   \\    /\n" +
                "              '--'");
    }
}
